//
//  RowUploadImagesM.h
//  jhf
//
//  Created by Mac on 2020/8/13.
//  Copyright © 2020 jhfappkf@163.com. All rights reserved.
//

#import <Cooper_Table/Cooper_Table.h>
#import "JAddImageModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface RowUploadImagesM : RowBaseM

@property (nonatomic, copy) NSString *dataKey;

+ (RowUploadImagesM *)defaultAddImageName:(NSString *)addImageName dataKey:(NSString *)dataKey;

// 最终
@property (nonatomic, strong) NSMutableArray <JAddImageModel *> *dataArray;

@property (nonatomic, assign) CGSize cellSize;

// 是否需要长按移动
@property (nonatomic,assign) BOOL needMove;

// 删除操作是否需要提出来操作
@property (nonatomic,assign) BOOL delActionDrowOut;

// NO 表示 在最后 默认最后 YES  表示 在第一位
@property (nonatomic,assign) BOOL addLocation;

// 最大图片数量  默认不限制  最低一个
@property (nonatomic,assign) NSInteger maxNum;

// 行间距 默认0 二 默认 8
@property (nonatomic, assign) CGFloat minimumLineSpacing;

// 列间距 默认0 || 默认 8
@property (nonatomic, assign) CGFloat minimumInteritemSpacing;

// 整体内边框 默认8
@property (nonatomic, assign) UIEdgeInsets sectionInset;

// 每行多少个
@property (nonatomic,assign) NSInteger numberOfVertail;

// 删除按钮
@property (nonatomic, copy) NSString *deleteImage;

// 添加按钮
@property (nonatomic, copy) NSString *addImageName;
@property (nonatomic, strong) JAddImageModel *addBT;

- (NSMutableArray <JAddImageModel *> *)currentShowDataArray;

@end

NS_ASSUME_NONNULL_END
